<header>
	<div id="connect">
	<?php
		if(isset($_SESSION['user'])) {
			echo '<form action="?section=user&action=logout" method="post">
			<label>Bonjour ' . $_SESSION['user'] . '</label>
			<button type="submit">Se déconnecter</button>
			</form>';
		}
		else {
			echo '<form action="?section=user&action=login" method="post">
				<label for="login">Login : </label>
				<input type="text" name="login" id="login">
				<label for="password">Password : </label>
				<input type="password" name="password" id="password">
				<button type="submit">Se connecter</button>
			</form>';
		}
	?>
	</div>
	<h1>Base de donnée historique</h1>
	<nav>
		<a href="?section=entite_historique&action=show">Entite Historique</a>
		<a href="?section=conflit&action=show">Conflit</a>
		<a href="?section=entite_historique&action=compare_map">Carte</a>
	</nav>
</header>
<div id="content">
